<template>
  <div class="layout-page">
    <div>首页架子dev分支 - 内容区域</div>

    <van-tabbar route>
      <van-tabbar-item  to="/article" icon="notes-o">面经</van-tabbar-item>
      <van-tabbar-item  to="/collect" icon="star-o">收藏</van-tabbar-item>
      <van-tabbar-item  to="/like" icon="like-o">喜欢</van-tabbar-item>
      <van-tabbar-item  to="/user" icon="user-o">我的</van-tabbar-item>
    </van-tabbar>
    <!-- 二级路由的出口 -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'LayoutPage',
  mounted () {
  }
}
</script>

<style lang="less" scoped>
.layout-page {
    .van-tabbar-item--active {
      color: @blue;
    }

}
</style>
